<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CANopenNode: 301/CO_driver.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CANopenNode
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('CO__driver_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">CO_driver.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="CO__driver_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#ifndef CO_DRIVER_H</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#define CO_DRIVER_H</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="CO__config_8h.html">CO_config.h</a>&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="CO__driver__target_8h.html">CO_driver_target.h</a>&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#ifdef CO_DEBUG_COMMON</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#if (CO_CONFIG_DEBUG) &amp; CO_CONFIG_DEBUG_SDO_CLIENT</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor"> #define CO_DEBUG_SDO_CLIENT(msg) CO_DEBUG_COMMON(msg)</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#if (CO_CONFIG_DEBUG) &amp; CO_CONFIG_DEBUG_SDO_SERVER</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor"> #define CO_DEBUG_SDO_SERVER(msg) CO_DEBUG_COMMON(msg)</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="group__CO__driver.html#ga0e351c2972f6d8f2e08fb5ac21a833b8">  102</a></span>&#160;<span class="preprocessor">#define CO_VERSION_MAJOR 4</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gaac3f110c1dd3cfc2b994b5c20d1c6ace">  104</a></span>&#160;<span class="preprocessor">#define CO_VERSION_MINOR 0</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="comment">/* Macros and declarations in following part are only used for documentation. */</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor">#ifdef CO_DOXYGEN</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#gaed3e1bffaf912485092fc20193705f35">  127</a></span>&#160;<span class="preprocessor">#define CO_LITTLE_ENDIAN</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga1717fcaabbe2cd6cd9fc0bc0cb917a6c">  129</a></span>&#160;<span class="preprocessor">#define CO_SWAP_16(x) x</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#gadf87da54942e3a0ff159688c5e0e267b">  131</a></span>&#160;<span class="preprocessor">#define CO_SWAP_32(x) x</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#gaec0fc209357883f42d66cd2cdaa7236f">  133</a></span>&#160;<span class="preprocessor">#define CO_SWAP_64(x) x</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga070d2ce7b6bb7e5c05602aa8c308d0c4">  135</a></span>&#160;<span class="preprocessor">#define NULL (0)</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga41f9c5fb8b08eb5dc3edce4dcb37fee7">  137</a></span>&#160;<span class="preprocessor">#define true 1</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga65e9886d74aaee76545e83dd09011727">  139</a></span>&#160;<span class="preprocessor">#define false 0</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">  141</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#gaef44329758059c91c76d334e8fc09700">  143</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> <a class="code" href="group__CO__dataTypes.html#gaef44329758059c91c76d334e8fc09700">int8_t</a>;</div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga932e6ccc3d54c58f761c1aead83bd6d7">  145</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="group__CO__dataTypes.html#ga932e6ccc3d54c58f761c1aead83bd6d7">int16_t</a>;</div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#gadb828ef50c2dbb783109824e94cf6c47">  147</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="group__CO__dataTypes.html#gadb828ef50c2dbb783109824e94cf6c47">int32_t</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga831d6234342279926bb11bad3a37add9">  149</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="group__CO__dataTypes.html#ga831d6234342279926bb11bad3a37add9">int64_t</a>;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">  151</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>;</div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">  153</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a>;</div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga33594304e786b158f3fb30289278f5af">  155</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="group__CO__dataTypes.html#ga33594304e786b158f3fb30289278f5af">uint32_t</a>;</div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#gad27ed092432b64ff558d2254c278720f">  157</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="group__CO__dataTypes.html#gad27ed092432b64ff558d2254c278720f">uint64_t</a>;</div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga4611b605e45ab401f02cab15c5e38715">  159</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">float</span> <a class="code" href="group__CO__dataTypes.html#ga4611b605e45ab401f02cab15c5e38715">float32_t</a>;</div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#gac55f3ae81b5bc9053760baacf57e47f4">  161</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="group__CO__dataTypes.html#gac55f3ae81b5bc9053760baacf57e47f4">float64_t</a>;</div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga40bb5262bf908c328fbcfbe5d29d0201">  163</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">char</span> <a class="code" href="group__CO__dataTypes.html#ga40bb5262bf908c328fbcfbe5d29d0201">char_t</a>;</div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#ga00f664c467579d7b2839d6926b6f33a6">  165</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="group__CO__dataTypes.html#ga00f664c467579d7b2839d6926b6f33a6">oChar_t</a>;</div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="group__CO__dataTypes.html#gadc433a2a90dacd3b2b3801dd9431c254">  167</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="group__CO__dataTypes.html#gadc433a2a90dacd3b2b3801dd9431c254">domain_t</a>;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__CO__CAN__Message__reception.html#ga23168979123a5ca8a87d49307eb2990e">CANrx_callback</a>(<span class="keywordtype">void</span> *<span class="keywordtype">object</span>, <span class="keywordtype">void</span> *rxMsg);</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="group__CO__CAN__Message__reception.html#ga018e9159b92165b2506a6673113cdc0e">  218</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> <a class="code" href="group__CO__CAN__Message__reception.html#ga018e9159b92165b2506a6673113cdc0e">CO_CANrxMsg_readIdent</a>(<span class="keywordtype">void</span> *rxMsg) {</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;}</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="group__CO__CAN__Message__reception.html#gacec1dcf8b7e66ea2e65905f91321b299">  230</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="group__CO__CAN__Message__reception.html#gacec1dcf8b7e66ea2e65905f91321b299">CO_CANrxMsg_readDLC</a>(<span class="keywordtype">void</span> *rxMsg) {</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;}</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="group__CO__CAN__Message__reception.html#gab02a5fe910acf9aa5021f97e523697f9">  242</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *<a class="code" href="group__CO__CAN__Message__reception.html#gab02a5fe910acf9aa5021f97e523697f9">CO_CANrxMsg_readData</a>(<span class="keywordtype">void</span> *rxMsg) {</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="group__CO__dataTypes.html#ga070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;}</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160; </div>
<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="structCO__CANrx__t.html">  257</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="structCO__CANrx__t.html#a8595c238cf0364bde995dee97d321909">  258</a></span>&#160;    <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> <a class="code" href="structCO__CANrx__t.html#a8595c238cf0364bde995dee97d321909">ident</a>; </div>
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="structCO__CANrx__t.html#af7a48dd4ac895a19c4031038e2c1222d">  259</a></span>&#160;    <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> <a class="code" href="structCO__CANrx__t.html#af7a48dd4ac895a19c4031038e2c1222d">mask</a>;  </div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="structCO__CANrx__t.html#a957a1ce67cd1d9010889d557bf0c5770">  261</a></span>&#160;    <span class="keywordtype">void</span> *<a class="code" href="structCO__CANrx__t.html#a957a1ce67cd1d9010889d557bf0c5770">object</a>;   </div>
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="structCO__CANrx__t.html#a8e4668eec8326bb9ac08d67afc3060c7">  263</a></span>&#160;    void (*pCANrx_callback)(</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        <span class="keywordtype">void</span> *object, <span class="keywordtype">void</span> *message); </div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;} <a class="code" href="structCO__CANrx__t.html">CO_CANrx_t</a>;</div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="structCO__CANtx__t.html">  299</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="structCO__CANtx__t.html#a9cc2687eb11da14d4c0aa167352c635c">  300</a></span>&#160;    <a class="code" href="group__CO__dataTypes.html#ga33594304e786b158f3fb30289278f5af">uint32_t</a> <a class="code" href="structCO__CANtx__t.html#a9cc2687eb11da14d4c0aa167352c635c">ident</a>;             </div>
<div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="structCO__CANtx__t.html#a9bb96d60314283061f7619e36d870fa0">  301</a></span>&#160;    <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="structCO__CANtx__t.html#a9bb96d60314283061f7619e36d870fa0">DLC</a>;                </div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="structCO__CANtx__t.html#aae5bcdc2296a5d1d53a3105e86dbb66d">  302</a></span>&#160;    <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> data[8];            </div>
<div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="structCO__CANtx__t.html#a305f0687a4ed7cd533e7937d6ff7d31b">  303</a></span>&#160;    <span class="keyword">volatile</span> <a class="code" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a> <a class="code" href="structCO__CANtx__t.html#a305f0687a4ed7cd533e7937d6ff7d31b">bufferFull</a>; </div>
<div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="structCO__CANtx__t.html#a79c19597a51351b9d6ed1c9bdfd051b3">  305</a></span>&#160;    <span class="keyword">volatile</span> <a class="code" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a> <a class="code" href="structCO__CANtx__t.html#a79c19597a51351b9d6ed1c9bdfd051b3">syncFlag</a>;   </div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;} <a class="code" href="structCO__CANtx__t.html">CO_CANtx_t</a>;</div>
<div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html">  319</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#aad1c18f6d47621e5a611333dc57cb349">  320</a></span>&#160;    <span class="keywordtype">void</span> *<a class="code" href="structCO__CANmodule__t.html#aad1c18f6d47621e5a611333dc57cb349">CANptr</a>;                      </div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#a747e694e15cca5a5579c2c4397a6da39">  321</a></span>&#160;    <a class="code" href="structCO__CANrx__t.html">CO_CANrx_t</a> *<a class="code" href="structCO__CANmodule__t.html#a747e694e15cca5a5579c2c4397a6da39">rxArray</a>;               </div>
<div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#a88edfd32c2bff5b9f29a2bccd1ac96f3">  322</a></span>&#160;    <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> <a class="code" href="structCO__CANmodule__t.html#a88edfd32c2bff5b9f29a2bccd1ac96f3">rxSize</a>;                   </div>
<div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#af623f2a045716af77e906b28deee3d3c">  323</a></span>&#160;    <a class="code" href="structCO__CANtx__t.html">CO_CANtx_t</a> *<a class="code" href="structCO__CANmodule__t.html#af623f2a045716af77e906b28deee3d3c">txArray</a>;               </div>
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#a6a53d3d12efbe30d1ee08e821d1b4139">  324</a></span>&#160;    <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> <a class="code" href="structCO__CANmodule__t.html#a6a53d3d12efbe30d1ee08e821d1b4139">txSize</a>;                   </div>
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#a5757052c57726cb4fb2ac5cdd8ff744d">  325</a></span>&#160;    <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> <a class="code" href="structCO__CANmodule__t.html#a5757052c57726cb4fb2ac5cdd8ff744d">CANerrorStatus</a>;           </div>
<div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#a5555f7d10e09da5815526d7c8b10901d">  327</a></span>&#160;    <span class="keyword">volatile</span> <a class="code" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a> <a class="code" href="structCO__CANmodule__t.html#a5555f7d10e09da5815526d7c8b10901d">CANnormal</a>;         </div>
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#a9b28f7a6f02d398b3a0ea6cf70fa64f0">  328</a></span>&#160;    <span class="keyword">volatile</span> <a class="code" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a> <a class="code" href="structCO__CANmodule__t.html#a9b28f7a6f02d398b3a0ea6cf70fa64f0">useCANrxFilters</a>;   </div>
<div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#ad7af19de0bf39c8927c926b095cb5292">  332</a></span>&#160;    <span class="keyword">volatile</span> <a class="code" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a> <a class="code" href="structCO__CANmodule__t.html#ad7af19de0bf39c8927c926b095cb5292">bufferInhibitFlag</a>; </div>
<div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#ac12bd37971b89b5796fec0de71be0f07">  336</a></span>&#160;    <span class="keyword">volatile</span> <a class="code" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a> <a class="code" href="structCO__CANmodule__t.html#ac12bd37971b89b5796fec0de71be0f07">firstCANtxMessage</a>; </div>
<div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#a269294aa6a15ba56f92a460fae0536ac">  338</a></span>&#160;    <span class="keyword">volatile</span> <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> <a class="code" href="structCO__CANmodule__t.html#a269294aa6a15ba56f92a460fae0536ac">CANtxCount</a>;      </div>
<div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#aa0627988ddedc3a4ec3bbfcf3b818d06">  340</a></span>&#160;    <a class="code" href="group__CO__dataTypes.html#ga33594304e786b158f3fb30289278f5af">uint32_t</a> <a class="code" href="structCO__CANmodule__t.html#aa0627988ddedc3a4ec3bbfcf3b818d06">errOld</a>;                   </div>
<div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="structCO__CANmodule__t.html#aead6585dcb9b8214dd77e8f74ca2aea1">  341</a></span>&#160;    <a class="code" href="group__CO__dataTypes.html#gadb828ef50c2dbb783109824e94cf6c47">int32_t</a> <a class="code" href="structCO__CANmodule__t.html#aead6585dcb9b8214dd77e8f74ca2aea1">errinfo</a>;                   </div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;} <a class="code" href="structCO__CANmodule__t.html">CO_CANmodule_t</a>;</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160; </div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160; </div>
<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="group__CO__critical__sections.html#ga7566ee901bbf1a0d76d771d72d2f826f">  388</a></span>&#160;<span class="preprocessor">#define CO_LOCK_CAN_SEND()</span></div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160; </div>
<div class="line"><a name="l00390"></a><span class="lineno"><a class="line" href="group__CO__critical__sections.html#ga511a5a0bf905c2207d5c9e26d35fe3cc">  390</a></span>&#160;<span class="preprocessor">#define CO_UNLOCK_CAN_SEND()</span></div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160; </div>
<div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="group__CO__critical__sections.html#ga3052a84235f56d535a14705e0cfda799">  392</a></span>&#160;<span class="preprocessor">#define CO_LOCK_EMCY()</span></div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160; </div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="group__CO__critical__sections.html#ga720a798f2bf7fe20d9c95a212b4df417">  394</a></span>&#160;<span class="preprocessor">#define CO_UNLOCK_EMCY()</span></div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160; </div>
<div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="group__CO__critical__sections.html#ga3850830931ced2bd3d7e15821572bbcc">  396</a></span>&#160;<span class="preprocessor">#define CO_LOCK_OD()</span></div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160; </div>
<div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="group__CO__critical__sections.html#ga2477f5d24fd31a9f4052cf451b87809f">  398</a></span>&#160;<span class="preprocessor">#define CO_UNLOCK_OD()</span></div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160; </div>
<div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="group__CO__critical__sections.html#ga577a6ebcf246087f084c75d9ae25eeb7">  401</a></span>&#160;<span class="preprocessor">#define CO_FLAG_READ(rxNew) ((rxNew) != NULL)</span></div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160; </div>
<div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="group__CO__critical__sections.html#gac54b5e4f680aa8b0177f0df5d5be2e88">  403</a></span>&#160;<span class="preprocessor">#define CO_FLAG_SET(rxNew) { __sync_synchronize(); rxNew = (void *)1L; }</span></div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160; </div>
<div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="group__CO__critical__sections.html#ga044da4253aeed15c3e0bb7fce13664af">  405</a></span>&#160;<span class="preprocessor">#define CO_FLAG_CLEAR(rxNew) { __sync_synchronize(); rxNew = NULL; }</span></div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160; </div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* CO_DOXYGEN */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160; </div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160; </div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;<span class="preprocessor">#ifndef CO_errinfo</span></div>
<div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gaaa84189910b720ce18c8d83aab405d86">  425</a></span>&#160;<span class="preprocessor">#define CO_errinfo(CANmodule, err)</span></div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160; </div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160; </div>
<div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="group__CO__driver.html#ga01dd35ae53fd2209ceccabdc8bf8dd06">  437</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a335d0f6204819d267ba396b715f66ead">  438</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a335d0f6204819d267ba396b715f66ead">CO_CAN_ID_NMT_SERVICE</a> = 0x000, </div>
<div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a0ba8a628aa1a873a21820070261c2783">  439</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a0ba8a628aa1a873a21820070261c2783">CO_CAN_ID_GFC</a> = 0x001,         </div>
<div class="line"><a name="l00440"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a7a8486aaf2f35eb83c6ca690d0cdce06">  440</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a7a8486aaf2f35eb83c6ca690d0cdce06">CO_CAN_ID_SYNC</a> = 0x080,        </div>
<div class="line"><a name="l00441"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a94ffef8babcef5b807c5f8c865ef7666">  441</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a94ffef8babcef5b807c5f8c865ef7666">CO_CAN_ID_EMERGENCY</a> = 0x080,   </div>
<div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06ab2e20e54189f5cb565e80b05eb8c4931">  442</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06ab2e20e54189f5cb565e80b05eb8c4931">CO_CAN_ID_TIME</a> = 0x100,        </div>
<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06aefe4dd6630902d36173b81c106a813bc">  443</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06aefe4dd6630902d36173b81c106a813bc">CO_CAN_ID_SRDO_1</a> = 0x0FF,      </div>
<div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a848f2bdb085bc3a342400a6b43c37f82">  444</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a848f2bdb085bc3a342400a6b43c37f82">CO_CAN_ID_TPDO_1</a> = 0x180,      </div>
<div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a0ab4be02961987ad817a99a4ef379517">  445</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a0ab4be02961987ad817a99a4ef379517">CO_CAN_ID_RPDO_1</a> = 0x200,      </div>
<div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06acb90f0dab2e31982df1bebae6dd02e4b">  446</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06acb90f0dab2e31982df1bebae6dd02e4b">CO_CAN_ID_TPDO_2</a> = 0x280,      </div>
<div class="line"><a name="l00447"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a60081a7b09921c6bfce3762a3dd4e49f">  447</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a60081a7b09921c6bfce3762a3dd4e49f">CO_CAN_ID_RPDO_2</a> = 0x300,      </div>
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a83b73730655607582d1dabc8f78f7ca4">  448</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a83b73730655607582d1dabc8f78f7ca4">CO_CAN_ID_TPDO_3</a> = 0x380,      </div>
<div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06ad634b89f227db86bc8c633dda327e5fb">  449</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06ad634b89f227db86bc8c633dda327e5fb">CO_CAN_ID_RPDO_3</a> = 0x400,      </div>
<div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06abe92c9f7938ad6566e8aa010ab6f5cae">  450</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06abe92c9f7938ad6566e8aa010ab6f5cae">CO_CAN_ID_TPDO_4</a> = 0x480,      </div>
<div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06afec9dfa33a34beef50c434e5cde68c6b">  451</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06afec9dfa33a34beef50c434e5cde68c6b">CO_CAN_ID_RPDO_4</a> = 0x500,      </div>
<div class="line"><a name="l00452"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a3c84d92ad004cfc04e398193b742d30c">  452</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a3c84d92ad004cfc04e398193b742d30c">CO_CAN_ID_SDO_SRV</a> = 0x580, </div>
<div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06acfe8640033d9668fafc63aa81d68ede5">  453</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06acfe8640033d9668fafc63aa81d68ede5">CO_CAN_ID_SDO_CLI</a> = 0x600, </div>
<div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a0cfd21623475a1a8522b30b8b16d9874">  454</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a0cfd21623475a1a8522b30b8b16d9874">CO_CAN_ID_HEARTBEAT</a> = 0x700,   </div>
<div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a4a62af7fb0b8768e57945a558a0ceee4">  455</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a4a62af7fb0b8768e57945a558a0ceee4">CO_CAN_ID_LSS_SLV</a> = 0x7E4,     </div>
<div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06ad7d16ed89e513b035104e4b2634ce287">  456</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06ad7d16ed89e513b035104e4b2634ce287">CO_CAN_ID_LSS_MST</a> = 0x7E5      </div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;} <a class="code" href="group__CO__driver.html#ga01dd35ae53fd2209ceccabdc8bf8dd06">CO_Default_CAN_ID_t</a>;</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160; </div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160; </div>
<div class="line"><a name="l00468"></a><span class="lineno"><a class="line" href="group__CO__driver.html#ga6c5539afb3a95af43f5477d904607426">  468</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a725e4fe057c2f9d222850686a76c724d">  469</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a725e4fe057c2f9d222850686a76c724d">CO_CAN_ERRTX_WARNING</a> = 0x0001,  </div>
<div class="line"><a name="l00470"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a85d05e861dc03e256dccf977ae16ad6e">  470</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a85d05e861dc03e256dccf977ae16ad6e">CO_CAN_ERRTX_PASSIVE</a> = 0x0002,  </div>
<div class="line"><a name="l00471"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426ae58aa7d0eb5d13630f858a3869f0ee7d">  471</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426ae58aa7d0eb5d13630f858a3869f0ee7d">CO_CAN_ERRTX_BUS_OFF</a> = 0x0004,  </div>
<div class="line"><a name="l00472"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426ad6fba8a27d82774f53812d3a49655d12">  472</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426ad6fba8a27d82774f53812d3a49655d12">CO_CAN_ERRTX_OVERFLOW</a> = 0x0008, </div>
<div class="line"><a name="l00474"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426ac0b993c7786f41a8c73ad0339124881b">  474</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426ac0b993c7786f41a8c73ad0339124881b">CO_CAN_ERRTX_PDO_LATE</a> = 0x0080, </div>
<div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a6df88a8a296eb4addc12d9136c0566b0">  476</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a6df88a8a296eb4addc12d9136c0566b0">CO_CAN_ERRRX_WARNING</a> = 0x0100,  </div>
<div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a51494ad0df1e2de6d9395f1803c4b233">  477</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a51494ad0df1e2de6d9395f1803c4b233">CO_CAN_ERRRX_PASSIVE</a> = 0x0200,  </div>
<div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a714a0b9c0978ffde5f138a81880a1fdd">  478</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a714a0b9c0978ffde5f138a81880a1fdd">CO_CAN_ERRRX_OVERFLOW</a> = 0x0800, </div>
<div class="line"><a name="l00480"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a5ad44f86d5691f2bc809f722364516e0">  480</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a5ad44f86d5691f2bc809f722364516e0">CO_CAN_ERR_WARN_PASSIVE</a> = 0x0303</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;} <a class="code" href="group__CO__driver.html#ga6c5539afb3a95af43f5477d904607426">CO_CAN_ERR_status_t</a>;</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160; </div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160; </div>
<div class="line"><a name="l00488"></a><span class="lineno"><a class="line" href="group__CO__driver.html#ga1cb2d3466eb0c6d267f3b5ff1a0d9532">  488</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532aff1c3e9fd4bf65e6757b020f752cdac8">  489</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532aff1c3e9fd4bf65e6757b020f752cdac8">CO_ERROR_NO</a> = 0,                </div>
<div class="line"><a name="l00490"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a3e78d588c0e21630c9cb7b43bfda3dae">  490</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a3e78d588c0e21630c9cb7b43bfda3dae">CO_ERROR_ILLEGAL_ARGUMENT</a> = -1, </div>
<div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a2f07295c4c6539c2b390db2d7c351267">  491</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a2f07295c4c6539c2b390db2d7c351267">CO_ERROR_OUT_OF_MEMORY</a> = -2,    </div>
<div class="line"><a name="l00492"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a129c7141c52ae59d37a2fff163fec600">  492</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a129c7141c52ae59d37a2fff163fec600">CO_ERROR_TIMEOUT</a> = -3,          </div>
<div class="line"><a name="l00493"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a0214308865e83b8c21de7317b3070097">  493</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a0214308865e83b8c21de7317b3070097">CO_ERROR_ILLEGAL_BAUDRATE</a> = -4, </div>
<div class="line"><a name="l00495"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532ab0746d0801a99639077b325594b347b5">  495</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532ab0746d0801a99639077b325594b347b5">CO_ERROR_RX_OVERFLOW</a> = -5,      </div>
<div class="line"><a name="l00497"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a7e4cefeb35775754c87cf6a559f1bbd9">  497</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a7e4cefeb35775754c87cf6a559f1bbd9">CO_ERROR_RX_PDO_OVERFLOW</a> = -6,  </div>
<div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a3e40e8440a8480c413d3ff724b875de4">  498</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a3e40e8440a8480c413d3ff724b875de4">CO_ERROR_RX_MSG_LENGTH</a> = -7,    </div>
<div class="line"><a name="l00499"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a4829a460cbba557a2ff7f52bd912aa65">  499</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a4829a460cbba557a2ff7f52bd912aa65">CO_ERROR_RX_PDO_LENGTH</a> = -8,    </div>
<div class="line"><a name="l00500"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a757b4d226a3e00a9e2543cf21833d46f">  500</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a757b4d226a3e00a9e2543cf21833d46f">CO_ERROR_TX_OVERFLOW</a> = -9,      </div>
<div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a48993dc18698738d168071b4f4c3d244">  502</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a48993dc18698738d168071b4f4c3d244">CO_ERROR_TX_PDO_WINDOW</a> = -10,   </div>
<div class="line"><a name="l00503"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a6f07e7c21acde035b561edc7f55edb89">  503</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a6f07e7c21acde035b561edc7f55edb89">CO_ERROR_TX_UNCONFIGURED</a> = -11, </div>
<div class="line"><a name="l00505"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a737e67c9f8d3ca882a3cba852153c1f3">  505</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a737e67c9f8d3ca882a3cba852153c1f3">CO_ERROR_OD_PARAMETERS</a> = -12,   </div>
<div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532aa053301213d13670e9af7d31abc1ee48">  506</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532aa053301213d13670e9af7d31abc1ee48">CO_ERROR_DATA_CORRUPT</a> = -13,    </div>
<div class="line"><a name="l00507"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a25eaff6474c6bc2aae67b1e7c7a35109">  507</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a25eaff6474c6bc2aae67b1e7c7a35109">CO_ERROR_CRC</a> = -14,             </div>
<div class="line"><a name="l00508"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532ab47ecc1b08463eb986fd29c187096343">  508</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532ab47ecc1b08463eb986fd29c187096343">CO_ERROR_TX_BUSY</a> = -15,         </div>
<div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a07457c9c6eda89fc0260e6d7e431424c">  510</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a07457c9c6eda89fc0260e6d7e431424c">CO_ERROR_WRONG_NMT_STATE</a> = -16, </div>
<div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a46d81c922ecbaf8f136626725ad8399d">  512</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a46d81c922ecbaf8f136626725ad8399d">CO_ERROR_SYSCALL</a> = -17,         </div>
<div class="line"><a name="l00513"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a57f1c4d2d960ab2550669a1c5ebbf4e1">  513</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a57f1c4d2d960ab2550669a1c5ebbf4e1">CO_ERROR_INVALID_STATE</a> = -18,   </div>
<div class="line"><a name="l00514"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532ac7a6f0554ae52997b88a97b46a16e5a3">  514</a></span>&#160;    <a class="code" href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532ac7a6f0554ae52997b88a97b46a16e5a3">CO_ERROR_NODE_ID_UNCONFIGURED_LSS</a> = -19 </div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;} <a class="code" href="group__CO__driver.html#ga1cb2d3466eb0c6d267f3b5ff1a0d9532">CO_ReturnError_t</a>;</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160; </div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160; </div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__CO__driver.html#ga88ef52baae169a80e4c2f2cb93b33747">CO_CANsetConfigurationMode</a>(<span class="keywordtype">void</span> *CANptr);</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160; </div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160; </div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__CO__driver.html#gad654edfa651bf7b68263913786697200">CO_CANsetNormalMode</a>(<a class="code" href="structCO__CANmodule__t.html">CO_CANmodule_t</a> *CANmodule);</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160; </div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160; </div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;<a class="code" href="group__CO__driver.html#ga1cb2d3466eb0c6d267f3b5ff1a0d9532">CO_ReturnError_t</a> <a class="code" href="group__CO__driver.html#ga3a1131813110529494cee5e27c0bf28d">CO_CANmodule_init</a>(<a class="code" href="structCO__CANmodule__t.html">CO_CANmodule_t</a> *CANmodule,</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;                                   <span class="keywordtype">void</span> *CANptr,</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;                                   <a class="code" href="structCO__CANrx__t.html">CO_CANrx_t</a> rxArray[],</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;                                   <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> rxSize,</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;                                   <a class="code" href="structCO__CANtx__t.html">CO_CANtx_t</a> txArray[],</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;                                   <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> txSize,</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;                                   <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> CANbitRate);</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160; </div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160; </div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__CO__driver.html#gac6f60f9da27dda0c9b3950c4e96bd687">CO_CANmodule_disable</a>(<a class="code" href="structCO__CANmodule__t.html">CO_CANmodule_t</a> *CANmodule);</div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160; </div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160; </div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;<a class="code" href="group__CO__driver.html#ga1cb2d3466eb0c6d267f3b5ff1a0d9532">CO_ReturnError_t</a> <a class="code" href="group__CO__driver.html#ga25ee22cd2e3a2f3bb49990e8bc3076b0">CO_CANrxBufferInit</a>(<a class="code" href="structCO__CANmodule__t.html">CO_CANmodule_t</a> *CANmodule,</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;                                    <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> index,</div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;                                    <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> ident,</div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;                                    <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> mask,</div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;                                    <a class="code" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a> rtr,</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;                                    <span class="keywordtype">void</span> *<span class="keywordtype">object</span>,</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;                                    <span class="keywordtype">void</span> (*<a class="code" href="group__CO__CAN__Message__reception.html#ga23168979123a5ca8a87d49307eb2990e">CANrx_callback</a>)(<span class="keywordtype">void</span> *<span class="keywordtype">object</span>,</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;                                                           <span class="keywordtype">void</span> *message));</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160; </div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160; </div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;<a class="code" href="structCO__CANtx__t.html">CO_CANtx_t</a> *<a class="code" href="group__CO__driver.html#ga01e2ee79e7e3a8b321dac831e7e00976">CO_CANtxBufferInit</a>(<a class="code" href="structCO__CANmodule__t.html">CO_CANmodule_t</a> *CANmodule,</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;                               <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> index,</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;                               <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> ident,</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;                               <a class="code" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a> rtr,</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;                               <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> noOfBytes,</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;                               <a class="code" href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a> syncFlag);</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160; </div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160; </div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;<a class="code" href="group__CO__driver.html#ga1cb2d3466eb0c6d267f3b5ff1a0d9532">CO_ReturnError_t</a> <a class="code" href="group__CO__driver.html#ga4664a9f5d547cb0605a9e929fb079f2e">CO_CANsend</a>(<a class="code" href="structCO__CANmodule__t.html">CO_CANmodule_t</a> *CANmodule, <a class="code" href="structCO__CANtx__t.html">CO_CANtx_t</a> *buffer);</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160; </div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160; </div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__CO__driver.html#gabbeac85cbf513162b11fc3d0717b0753">CO_CANclearPendingSyncPDOs</a>(<a class="code" href="structCO__CANmodule__t.html">CO_CANmodule_t</a> *CANmodule);</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160; </div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160; </div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__CO__driver.html#ga066c6742f75b2daac585735ffd6c9928">CO_CANmodule_process</a>(<a class="code" href="structCO__CANmodule__t.html">CO_CANmodule_t</a> *CANmodule);</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160; </div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160; </div>
<div class="line"><a name="l00681"></a><span class="lineno"><a class="line" href="group__CO__driver.html#ga27a4052f87c60cf2df472378689c2ef9">  681</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="group__CO__driver.html#ga27a4052f87c60cf2df472378689c2ef9">CO_getUint8</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *buf) {</div>
<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;    <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> value; memmove(&amp;value, buf, <span class="keyword">sizeof</span>(value)); <span class="keywordflow">return</span> value;</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;}</div>
<div class="line"><a name="l00685"></a><span class="lineno"><a class="line" href="group__CO__driver.html#ga6590fe7a05ecb4b81ee3d7e233274ea4">  685</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> <a class="code" href="group__CO__driver.html#ga6590fe7a05ecb4b81ee3d7e233274ea4">CO_getUint16</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *buf) {</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;    <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> value; memmove(&amp;value, buf, <span class="keyword">sizeof</span>(value)); <span class="keywordflow">return</span> value;</div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;}</div>
<div class="line"><a name="l00689"></a><span class="lineno"><a class="line" href="group__CO__driver.html#ga21cd9e2391f276b908bcde5769e967ed">  689</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="group__CO__dataTypes.html#ga33594304e786b158f3fb30289278f5af">uint32_t</a> <a class="code" href="group__CO__driver.html#ga21cd9e2391f276b908bcde5769e967ed">CO_getUint32</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *buf) {</div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;    <a class="code" href="group__CO__dataTypes.html#ga33594304e786b158f3fb30289278f5af">uint32_t</a> value; memmove(&amp;value, buf, <span class="keyword">sizeof</span>(value)); <span class="keywordflow">return</span> value;</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;}</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160; </div>
<div class="line"><a name="l00701"></a><span class="lineno"><a class="line" href="group__CO__driver.html#ga61de0908305223a0a7949e184cc1d644">  701</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="group__CO__driver.html#ga61de0908305223a0a7949e184cc1d644">CO_setUint8</a>(<span class="keywordtype">void</span> *buf, <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> value) {</div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;    memmove(buf, &amp;value, <span class="keyword">sizeof</span>(value)); <span class="keywordflow">return</span> <span class="keyword">sizeof</span>(value);</div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;}</div>
<div class="line"><a name="l00705"></a><span class="lineno"><a class="line" href="group__CO__driver.html#gaf74a6b7343bc9d6efd5ec5d9d9f965fb">  705</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="group__CO__driver.html#gaf74a6b7343bc9d6efd5ec5d9d9f965fb">CO_setUint16</a>(<span class="keywordtype">void</span> *buf, <a class="code" href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a> value) {</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;    memmove(buf, &amp;value, <span class="keyword">sizeof</span>(value)); <span class="keywordflow">return</span> <span class="keyword">sizeof</span>(value);</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;}</div>
<div class="line"><a name="l00709"></a><span class="lineno"><a class="line" href="group__CO__driver.html#ga9dbc7193fbd875503e0b3b34ea22434e">  709</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="group__CO__driver.html#ga9dbc7193fbd875503e0b3b34ea22434e">CO_setUint32</a>(<span class="keywordtype">void</span> *buf, <a class="code" href="group__CO__dataTypes.html#ga33594304e786b158f3fb30289278f5af">uint32_t</a> value) {</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;    memmove(buf, &amp;value, <span class="keyword">sizeof</span>(value)); <span class="keywordflow">return</span> <span class="keyword">sizeof</span>(value);</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;}</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160; <span class="comment">/* CO_driver */</span></div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160; </div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;}</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160; </div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* CO_DRIVER_H */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="agroup__CO__dataTypes_html_ga33594304e786b158f3fb30289278f5af"><div class="ttname"><a href="group__CO__dataTypes.html#ga33594304e786b158f3fb30289278f5af">uint32_t</a></div><div class="ttdeci">unsigned long int uint32_t</div><div class="ttdoc">UNSIGNED32 in CANopen (0007h), 32-bit unsigned integer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:155</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_ac12bd37971b89b5796fec0de71be0f07"><div class="ttname"><a href="structCO__CANmodule__t.html#ac12bd37971b89b5796fec0de71be0f07">CO_CANmodule_t::firstCANtxMessage</a></div><div class="ttdeci">volatile bool_t firstCANtxMessage</div><div class="ttdoc">Equal to 1, when the first transmitted message (bootup message) is in CAN TX buffers.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:336</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a848f2bdb085bc3a342400a6b43c37f82"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a848f2bdb085bc3a342400a6b43c37f82">CO_CAN_ID_TPDO_1</a></div><div class="ttdeci">@ CO_CAN_ID_TPDO_1</div><div class="ttdoc">0x180, Default TPDO1 (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:444</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532aa053301213d13670e9af7d31abc1ee48"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532aa053301213d13670e9af7d31abc1ee48">CO_ERROR_DATA_CORRUPT</a></div><div class="ttdeci">@ CO_ERROR_DATA_CORRUPT</div><div class="ttdoc">Stored data are corrupt.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:506</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a0ba8a628aa1a873a21820070261c2783"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a0ba8a628aa1a873a21820070261c2783">CO_CAN_ID_GFC</a></div><div class="ttdeci">@ CO_CAN_ID_GFC</div><div class="ttdoc">0x001, Global fail-safe command</div><div class="ttdef"><b>Definition:</b> CO_driver.h:439</div></div>
<div class="ttc" id="astructCO__CANrx__t_html_af7a48dd4ac895a19c4031038e2c1222d"><div class="ttname"><a href="structCO__CANrx__t.html#af7a48dd4ac895a19c4031038e2c1222d">CO_CANrx_t::mask</a></div><div class="ttdeci">uint16_t mask</div><div class="ttdoc">Standard CAN Identifier mask with the same alignment as ident.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:259</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_af623f2a045716af77e906b28deee3d3c"><div class="ttname"><a href="structCO__CANmodule__t.html#af623f2a045716af77e906b28deee3d3c">CO_CANmodule_t::txArray</a></div><div class="ttdeci">CO_CANtx_t * txArray</div><div class="ttdoc">From CO_CANmodule_init()</div><div class="ttdef"><b>Definition:</b> CO_driver.h:323</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga01e2ee79e7e3a8b321dac831e7e00976"><div class="ttname"><a href="group__CO__driver.html#ga01e2ee79e7e3a8b321dac831e7e00976">CO_CANtxBufferInit</a></div><div class="ttdeci">CO_CANtx_t * CO_CANtxBufferInit(CO_CANmodule_t *CANmodule, uint16_t index, uint16_t ident, bool_t rtr, uint8_t noOfBytes, bool_t syncFlag)</div><div class="ttdoc">Configure CAN message transmit buffer.</div><div class="ttdef"><b>Definition:</b> CO_driver.c:519</div></div>
<div class="ttc" id="agroup__CO__driver_html_gabbeac85cbf513162b11fc3d0717b0753"><div class="ttname"><a href="group__CO__driver.html#gabbeac85cbf513162b11fc3d0717b0753">CO_CANclearPendingSyncPDOs</a></div><div class="ttdeci">void CO_CANclearPendingSyncPDOs(CO_CANmodule_t *CANmodule)</div><div class="ttdoc">Clear all synchronous TPDOs from CAN module transmit buffers.</div><div class="ttdef"><b>Definition:</b> CO_driver.c:707</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a335d0f6204819d267ba396b715f66ead"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a335d0f6204819d267ba396b715f66ead">CO_CAN_ID_NMT_SERVICE</a></div><div class="ttdeci">@ CO_CAN_ID_NMT_SERVICE</div><div class="ttdoc">0x000, Network management</div><div class="ttdef"><b>Definition:</b> CO_driver.h:438</div></div>
<div class="ttc" id="astructCO__CANrx__t_html_a957a1ce67cd1d9010889d557bf0c5770"><div class="ttname"><a href="structCO__CANrx__t.html#a957a1ce67cd1d9010889d557bf0c5770">CO_CANrx_t::object</a></div><div class="ttdeci">void * object</div><div class="ttdoc">CANopenNode Object initialized in from CO_CANrxBufferInit()</div><div class="ttdef"><b>Definition:</b> CO_driver.h:261</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_ga40bb5262bf908c328fbcfbe5d29d0201"><div class="ttname"><a href="group__CO__dataTypes.html#ga40bb5262bf908c328fbcfbe5d29d0201">char_t</a></div><div class="ttdeci">char char_t</div><div class="ttdoc">VISIBLE_STRING in CANopen (0009h), string of signed 8-bit values.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:163</div></div>
<div class="ttc" id="agroup__CO__driver_html_gaf74a6b7343bc9d6efd5ec5d9d9f965fb"><div class="ttname"><a href="group__CO__driver.html#gaf74a6b7343bc9d6efd5ec5d9d9f965fb">CO_setUint16</a></div><div class="ttdeci">static uint8_t CO_setUint16(void *buf, uint16_t value)</div><div class="ttdoc">Write uint16_t value into memory buffer, see CO_setUint8.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:705</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532aff1c3e9fd4bf65e6757b020f752cdac8"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532aff1c3e9fd4bf65e6757b020f752cdac8">CO_ERROR_NO</a></div><div class="ttdeci">@ CO_ERROR_NO</div><div class="ttdoc">Operation completed successfully.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:489</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06acb90f0dab2e31982df1bebae6dd02e4b"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06acb90f0dab2e31982df1bebae6dd02e4b">CO_CAN_ID_TPDO_2</a></div><div class="ttdeci">@ CO_CAN_ID_TPDO_2</div><div class="ttdoc">0x280, Default TPDO2 (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:446</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_ga831d6234342279926bb11bad3a37add9"><div class="ttname"><a href="group__CO__dataTypes.html#ga831d6234342279926bb11bad3a37add9">int64_t</a></div><div class="ttdeci">signed long long int int64_t</div><div class="ttdoc">INTEGER64 in CANopen (0015h), 64-bit signed integer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:149</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_ga1f1825b69244eb3ad2c7165ddc99c956"><div class="ttname"><a href="group__CO__dataTypes.html#ga1f1825b69244eb3ad2c7165ddc99c956">uint16_t</a></div><div class="ttdeci">unsigned int uint16_t</div><div class="ttdoc">UNSIGNED16 in CANopen (0006h), 16-bit unsigned integer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:153</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a7e4cefeb35775754c87cf6a559f1bbd9"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a7e4cefeb35775754c87cf6a559f1bbd9">CO_ERROR_RX_PDO_OVERFLOW</a></div><div class="ttdeci">@ CO_ERROR_RX_PDO_OVERFLOW</div><div class="ttdoc">previous PDO was not processed yet</div><div class="ttdef"><b>Definition:</b> CO_driver.h:497</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06aefe4dd6630902d36173b81c106a813bc"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06aefe4dd6630902d36173b81c106a813bc">CO_CAN_ID_SRDO_1</a></div><div class="ttdeci">@ CO_CAN_ID_SRDO_1</div><div class="ttdoc">0x0FF, Default SRDO1 (+2*nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:443</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga1cb2d3466eb0c6d267f3b5ff1a0d9532"><div class="ttname"><a href="group__CO__driver.html#ga1cb2d3466eb0c6d267f3b5ff1a0d9532">CO_ReturnError_t</a></div><div class="ttdeci">CO_ReturnError_t</div><div class="ttdoc">Return values of some CANopen functions.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:488</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga6c5539afb3a95af43f5477d904607426a85d05e861dc03e256dccf977ae16ad6e"><div class="ttname"><a href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a85d05e861dc03e256dccf977ae16ad6e">CO_CAN_ERRTX_PASSIVE</a></div><div class="ttdeci">@ CO_CAN_ERRTX_PASSIVE</div><div class="ttdoc">0x0002, CAN transmitter passive</div><div class="ttdef"><b>Definition:</b> CO_driver.h:470</div></div>
<div class="ttc" id="agroup__CO__CAN__Message__reception_html_gacec1dcf8b7e66ea2e65905f91321b299"><div class="ttname"><a href="group__CO__CAN__Message__reception.html#gacec1dcf8b7e66ea2e65905f91321b299">CO_CANrxMsg_readDLC</a></div><div class="ttdeci">static uint8_t CO_CANrxMsg_readDLC(void *rxMsg)</div><div class="ttdoc">CANrx_callback() can read Data Length Code from received CAN message.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:230</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a94ffef8babcef5b807c5f8c865ef7666"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a94ffef8babcef5b807c5f8c865ef7666">CO_CAN_ID_EMERGENCY</a></div><div class="ttdeci">@ CO_CAN_ID_EMERGENCY</div><div class="ttdoc">0x080, Emergency messages (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:441</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga6c5539afb3a95af43f5477d904607426ae58aa7d0eb5d13630f858a3869f0ee7d"><div class="ttname"><a href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426ae58aa7d0eb5d13630f858a3869f0ee7d">CO_CAN_ERRTX_BUS_OFF</a></div><div class="ttdeci">@ CO_CAN_ERRTX_BUS_OFF</div><div class="ttdoc">0x0004, CAN transmitter bus off</div><div class="ttdef"><b>Definition:</b> CO_driver.h:471</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga6c5539afb3a95af43f5477d904607426ad6fba8a27d82774f53812d3a49655d12"><div class="ttname"><a href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426ad6fba8a27d82774f53812d3a49655d12">CO_CAN_ERRTX_OVERFLOW</a></div><div class="ttdeci">@ CO_CAN_ERRTX_OVERFLOW</div><div class="ttdoc">0x0008, CAN transmitter overflow</div><div class="ttdef"><b>Definition:</b> CO_driver.h:472</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_ga449976458a084f880dc8e3d29e7eb6f5"><div class="ttname"><a href="group__CO__dataTypes.html#ga449976458a084f880dc8e3d29e7eb6f5">bool_t</a></div><div class="ttdeci">unsigned char bool_t</div><div class="ttdoc">Boolean data type for general use.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:141</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a6f07e7c21acde035b561edc7f55edb89"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a6f07e7c21acde035b561edc7f55edb89">CO_ERROR_TX_UNCONFIGURED</a></div><div class="ttdeci">@ CO_ERROR_TX_UNCONFIGURED</div><div class="ttdoc">Transmit buffer was not configured properly.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:503</div></div>
<div class="ttc" id="agroup__CO__CAN__Message__reception_html_ga23168979123a5ca8a87d49307eb2990e"><div class="ttname"><a href="group__CO__CAN__Message__reception.html#ga23168979123a5ca8a87d49307eb2990e">CANrx_callback</a></div><div class="ttdeci">void CANrx_callback(void *object, void *rxMsg)</div><div class="ttdoc">CAN receive callback function which pre-processes received CAN message.</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga3a1131813110529494cee5e27c0bf28d"><div class="ttname"><a href="group__CO__driver.html#ga3a1131813110529494cee5e27c0bf28d">CO_CANmodule_init</a></div><div class="ttdeci">CO_ReturnError_t CO_CANmodule_init(CO_CANmodule_t *CANmodule, void *CANptr, CO_CANrx_t rxArray[], uint16_t rxSize, CO_CANtx_t txArray[], uint16_t txSize, uint16_t CANbitRate)</div><div class="ttdoc">Initialize CAN module object.</div><div class="ttdef"><b>Definition:</b> CO_driver.c:198</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga61de0908305223a0a7949e184cc1d644"><div class="ttname"><a href="group__CO__driver.html#ga61de0908305223a0a7949e184cc1d644">CO_setUint8</a></div><div class="ttdeci">static uint8_t CO_setUint8(void *buf, uint8_t value)</div><div class="ttdoc">Write uint8_t value into memory buffer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:701</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga6c5539afb3a95af43f5477d904607426a51494ad0df1e2de6d9395f1803c4b233"><div class="ttname"><a href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a51494ad0df1e2de6d9395f1803c4b233">CO_CAN_ERRRX_PASSIVE</a></div><div class="ttdeci">@ CO_CAN_ERRRX_PASSIVE</div><div class="ttdoc">0x0200, CAN receiver passive</div><div class="ttdef"><b>Definition:</b> CO_driver.h:477</div></div>
<div class="ttc" id="agroup__CO__CAN__Message__reception_html_gab02a5fe910acf9aa5021f97e523697f9"><div class="ttname"><a href="group__CO__CAN__Message__reception.html#gab02a5fe910acf9aa5021f97e523697f9">CO_CANrxMsg_readData</a></div><div class="ttdeci">static uint8_t * CO_CANrxMsg_readData(void *rxMsg)</div><div class="ttdoc">CANrx_callback() can read pointer to data from received CAN message.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:242</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a60081a7b09921c6bfce3762a3dd4e49f"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a60081a7b09921c6bfce3762a3dd4e49f">CO_CAN_ID_RPDO_2</a></div><div class="ttdeci">@ CO_CAN_ID_RPDO_2</div><div class="ttdoc">0x300, Default RPDO2 (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:447</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_gadb828ef50c2dbb783109824e94cf6c47"><div class="ttname"><a href="group__CO__dataTypes.html#gadb828ef50c2dbb783109824e94cf6c47">int32_t</a></div><div class="ttdeci">signed long int int32_t</div><div class="ttdoc">INTEGER32 in CANopen (0004h), 32-bit signed integer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:147</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga25ee22cd2e3a2f3bb49990e8bc3076b0"><div class="ttname"><a href="group__CO__driver.html#ga25ee22cd2e3a2f3bb49990e8bc3076b0">CO_CANrxBufferInit</a></div><div class="ttdeci">CO_ReturnError_t CO_CANrxBufferInit(CO_CANmodule_t *CANmodule, uint16_t index, uint16_t ident, uint16_t mask, bool_t rtr, void *object, void(*CANrx_callback)(void *object, void *message))</div><div class="ttdoc">Configure CAN message receive buffer.</div><div class="ttdef"><b>Definition:</b> CO_driver.c:428</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_gad27ed092432b64ff558d2254c278720f"><div class="ttname"><a href="group__CO__dataTypes.html#gad27ed092432b64ff558d2254c278720f">uint64_t</a></div><div class="ttdeci">unsigned long long int uint64_t</div><div class="ttdoc">UNSIGNED64 in CANopen (001Bh), 64-bit unsigned integer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:157</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_a9b28f7a6f02d398b3a0ea6cf70fa64f0"><div class="ttname"><a href="structCO__CANmodule__t.html#a9b28f7a6f02d398b3a0ea6cf70fa64f0">CO_CANmodule_t::useCANrxFilters</a></div><div class="ttdeci">volatile bool_t useCANrxFilters</div><div class="ttdoc">Value different than zero indicates, that CAN module hardware filters are used for CAN reception.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:328</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532ab0746d0801a99639077b325594b347b5"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532ab0746d0801a99639077b325594b347b5">CO_ERROR_RX_OVERFLOW</a></div><div class="ttdeci">@ CO_ERROR_RX_OVERFLOW</div><div class="ttdoc">Previous message was not processed yet.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:495</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga6c5539afb3a95af43f5477d904607426ac0b993c7786f41a8c73ad0339124881b"><div class="ttname"><a href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426ac0b993c7786f41a8c73ad0339124881b">CO_CAN_ERRTX_PDO_LATE</a></div><div class="ttdeci">@ CO_CAN_ERRTX_PDO_LATE</div><div class="ttdoc">0x0080, TPDO is outside sync window</div><div class="ttdef"><b>Definition:</b> CO_driver.h:474</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a83b73730655607582d1dabc8f78f7ca4"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a83b73730655607582d1dabc8f78f7ca4">CO_CAN_ID_TPDO_3</a></div><div class="ttdeci">@ CO_CAN_ID_TPDO_3</div><div class="ttdoc">0x380, Default TPDO3 (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:448</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a0ab4be02961987ad817a99a4ef379517"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a0ab4be02961987ad817a99a4ef379517">CO_CAN_ID_RPDO_1</a></div><div class="ttdeci">@ CO_CAN_ID_RPDO_1</div><div class="ttdoc">0x200, Default RPDO1 (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:445</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a0cfd21623475a1a8522b30b8b16d9874"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a0cfd21623475a1a8522b30b8b16d9874">CO_CAN_ID_HEARTBEAT</a></div><div class="ttdeci">@ CO_CAN_ID_HEARTBEAT</div><div class="ttdoc">0x700, Heartbeat message</div><div class="ttdef"><b>Definition:</b> CO_driver.h:454</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_gaef44329758059c91c76d334e8fc09700"><div class="ttname"><a href="group__CO__dataTypes.html#gaef44329758059c91c76d334e8fc09700">int8_t</a></div><div class="ttdeci">signed char int8_t</div><div class="ttdoc">INTEGER8 in CANopen (0002h), 8-bit signed integer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:143</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga6590fe7a05ecb4b81ee3d7e233274ea4"><div class="ttname"><a href="group__CO__driver.html#ga6590fe7a05ecb4b81ee3d7e233274ea4">CO_getUint16</a></div><div class="ttdeci">static uint16_t CO_getUint16(const void *buf)</div><div class="ttdoc">Get uint16_t value from memory buffer, see CO_getUint8.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:685</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a3e40e8440a8480c413d3ff724b875de4"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a3e40e8440a8480c413d3ff724b875de4">CO_ERROR_RX_MSG_LENGTH</a></div><div class="ttdeci">@ CO_ERROR_RX_MSG_LENGTH</div><div class="ttdoc">Wrong receive message length.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:498</div></div>
<div class="ttc" id="agroup__CO__CAN__Message__reception_html_ga018e9159b92165b2506a6673113cdc0e"><div class="ttname"><a href="group__CO__CAN__Message__reception.html#ga018e9159b92165b2506a6673113cdc0e">CO_CANrxMsg_readIdent</a></div><div class="ttdeci">static uint16_t CO_CANrxMsg_readIdent(void *rxMsg)</div><div class="ttdoc">CANrx_callback() can read CAN identifier from received CAN message.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:218</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_aad1c18f6d47621e5a611333dc57cb349"><div class="ttname"><a href="structCO__CANmodule__t.html#aad1c18f6d47621e5a611333dc57cb349">CO_CANmodule_t::CANptr</a></div><div class="ttdeci">void * CANptr</div><div class="ttdoc">From CO_CANmodule_init()</div><div class="ttdef"><b>Definition:</b> CO_driver.h:320</div></div>
<div class="ttc" id="aCO__driver__target_8h_html"><div class="ttname"><a href="CO__driver__target_8h.html">CO_driver_target.h</a></div><div class="ttdoc">Linux socketCAN specific definitions for CANopenNode.</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06abe92c9f7938ad6566e8aa010ab6f5cae"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06abe92c9f7938ad6566e8aa010ab6f5cae">CO_CAN_ID_TPDO_4</a></div><div class="ttdeci">@ CO_CAN_ID_TPDO_4</div><div class="ttdoc">0x480, Default TPDO4 (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:450</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06ad7d16ed89e513b035104e4b2634ce287"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06ad7d16ed89e513b035104e4b2634ce287">CO_CAN_ID_LSS_MST</a></div><div class="ttdeci">@ CO_CAN_ID_LSS_MST</div><div class="ttdoc">0x7E5, LSS request from master</div><div class="ttdef"><b>Definition:</b> CO_driver.h:456</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a757b4d226a3e00a9e2543cf21833d46f"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a757b4d226a3e00a9e2543cf21833d46f">CO_ERROR_TX_OVERFLOW</a></div><div class="ttdeci">@ CO_ERROR_TX_OVERFLOW</div><div class="ttdoc">Previous message is still waiting, buffer full.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:500</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a7a8486aaf2f35eb83c6ca690d0cdce06"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a7a8486aaf2f35eb83c6ca690d0cdce06">CO_CAN_ID_SYNC</a></div><div class="ttdeci">@ CO_CAN_ID_SYNC</div><div class="ttdoc">0x080, Synchronous message</div><div class="ttdef"><b>Definition:</b> CO_driver.h:440</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_gac55f3ae81b5bc9053760baacf57e47f4"><div class="ttname"><a href="group__CO__dataTypes.html#gac55f3ae81b5bc9053760baacf57e47f4">float64_t</a></div><div class="ttdeci">double float64_t</div><div class="ttdoc">REAL64 in CANopen (0011h), double precision floating point value, 64-bit.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:161</div></div>
<div class="ttc" id="agroup__CO__driver_html_gac6f60f9da27dda0c9b3950c4e96bd687"><div class="ttname"><a href="group__CO__driver.html#gac6f60f9da27dda0c9b3950c4e96bd687">CO_CANmodule_disable</a></div><div class="ttdeci">void CO_CANmodule_disable(CO_CANmodule_t *CANmodule)</div><div class="ttdoc">Switch off CANmodule.</div><div class="ttdef"><b>Definition:</b> CO_driver.c:392</div></div>
<div class="ttc" id="astructCO__CANtx__t_html_a9cc2687eb11da14d4c0aa167352c635c"><div class="ttname"><a href="structCO__CANtx__t.html#a9cc2687eb11da14d4c0aa167352c635c">CO_CANtx_t::ident</a></div><div class="ttdeci">uint32_t ident</div><div class="ttdoc">CAN identifier as aligned in CAN module.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:300</div></div>
<div class="ttc" id="aCO__config_8h_html"><div class="ttname"><a href="CO__config_8h.html">CO_config.h</a></div><div class="ttdoc">Configuration macros for CANopenNode.</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_ga4611b605e45ab401f02cab15c5e38715"><div class="ttname"><a href="group__CO__dataTypes.html#ga4611b605e45ab401f02cab15c5e38715">float32_t</a></div><div class="ttdeci">float float32_t</div><div class="ttdoc">REAL32 in CANopen (0008h), single precision floating point value, 32-bit.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:159</div></div>
<div class="ttc" id="astructCO__CANtx__t_html_a305f0687a4ed7cd533e7937d6ff7d31b"><div class="ttname"><a href="structCO__CANtx__t.html#a305f0687a4ed7cd533e7937d6ff7d31b">CO_CANtx_t::bufferFull</a></div><div class="ttdeci">volatile bool_t bufferFull</div><div class="ttdoc">True if previous message is still in the buffer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:303</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a46d81c922ecbaf8f136626725ad8399d"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a46d81c922ecbaf8f136626725ad8399d">CO_ERROR_SYSCALL</a></div><div class="ttdeci">@ CO_ERROR_SYSCALL</div><div class="ttdoc">Syscall failed.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:512</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_ga00f664c467579d7b2839d6926b6f33a6"><div class="ttname"><a href="group__CO__dataTypes.html#ga00f664c467579d7b2839d6926b6f33a6">oChar_t</a></div><div class="ttdeci">unsigned char oChar_t</div><div class="ttdoc">OCTET_STRING in CANopen (000Ah), string of unsigned 8-bit values.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:165</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a48993dc18698738d168071b4f4c3d244"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a48993dc18698738d168071b4f4c3d244">CO_ERROR_TX_PDO_WINDOW</a></div><div class="ttdeci">@ CO_ERROR_TX_PDO_WINDOW</div><div class="ttdoc">Synchronous TPDO is outside window.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:502</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06acfe8640033d9668fafc63aa81d68ede5"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06acfe8640033d9668fafc63aa81d68ede5">CO_CAN_ID_SDO_CLI</a></div><div class="ttdeci">@ CO_CAN_ID_SDO_CLI</div><div class="ttdoc">0x600, SDO request from client (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:453</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a57f1c4d2d960ab2550669a1c5ebbf4e1"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a57f1c4d2d960ab2550669a1c5ebbf4e1">CO_ERROR_INVALID_STATE</a></div><div class="ttdeci">@ CO_ERROR_INVALID_STATE</div><div class="ttdoc">Driver not ready.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:513</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_a747e694e15cca5a5579c2c4397a6da39"><div class="ttname"><a href="structCO__CANmodule__t.html#a747e694e15cca5a5579c2c4397a6da39">CO_CANmodule_t::rxArray</a></div><div class="ttdeci">CO_CANrx_t * rxArray</div><div class="ttdoc">From CO_CANmodule_init()</div><div class="ttdef"><b>Definition:</b> CO_driver.h:321</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga066c6742f75b2daac585735ffd6c9928"><div class="ttname"><a href="group__CO__driver.html#ga066c6742f75b2daac585735ffd6c9928">CO_CANmodule_process</a></div><div class="ttdeci">void CO_CANmodule_process(CO_CANmodule_t *CANmodule)</div><div class="ttdoc">Process can module - verify CAN errors.</div><div class="ttdef"><b>Definition:</b> CO_driver.c:715</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a4a62af7fb0b8768e57945a558a0ceee4"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a4a62af7fb0b8768e57945a558a0ceee4">CO_CAN_ID_LSS_SLV</a></div><div class="ttdeci">@ CO_CAN_ID_LSS_SLV</div><div class="ttdoc">0x7E4, LSS response from slave</div><div class="ttdef"><b>Definition:</b> CO_driver.h:455</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_a88edfd32c2bff5b9f29a2bccd1ac96f3"><div class="ttname"><a href="structCO__CANmodule__t.html#a88edfd32c2bff5b9f29a2bccd1ac96f3">CO_CANmodule_t::rxSize</a></div><div class="ttdeci">uint16_t rxSize</div><div class="ttdoc">From CO_CANmodule_init()</div><div class="ttdef"><b>Definition:</b> CO_driver.h:322</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a25eaff6474c6bc2aae67b1e7c7a35109"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a25eaff6474c6bc2aae67b1e7c7a35109">CO_ERROR_CRC</a></div><div class="ttdeci">@ CO_ERROR_CRC</div><div class="ttdoc">CRC does not match.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:507</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a737e67c9f8d3ca882a3cba852153c1f3"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a737e67c9f8d3ca882a3cba852153c1f3">CO_ERROR_OD_PARAMETERS</a></div><div class="ttdeci">@ CO_ERROR_OD_PARAMETERS</div><div class="ttdoc">Error in Object Dictionary parameters.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:505</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a0214308865e83b8c21de7317b3070097"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a0214308865e83b8c21de7317b3070097">CO_ERROR_ILLEGAL_BAUDRATE</a></div><div class="ttdeci">@ CO_ERROR_ILLEGAL_BAUDRATE</div><div class="ttdoc">Illegal baudrate passed to function CO_CANmodule_init()</div><div class="ttdef"><b>Definition:</b> CO_driver.h:493</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a3e78d588c0e21630c9cb7b43bfda3dae"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a3e78d588c0e21630c9cb7b43bfda3dae">CO_ERROR_ILLEGAL_ARGUMENT</a></div><div class="ttdeci">@ CO_ERROR_ILLEGAL_ARGUMENT</div><div class="ttdoc">Error in function arguments.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:490</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_a5757052c57726cb4fb2ac5cdd8ff744d"><div class="ttname"><a href="structCO__CANmodule__t.html#a5757052c57726cb4fb2ac5cdd8ff744d">CO_CANmodule_t::CANerrorStatus</a></div><div class="ttdeci">uint16_t CANerrorStatus</div><div class="ttdoc">CAN error status bitfield, see CO_CAN_ERR_status_t.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:325</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga6c5539afb3a95af43f5477d904607426a5ad44f86d5691f2bc809f722364516e0"><div class="ttname"><a href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a5ad44f86d5691f2bc809f722364516e0">CO_CAN_ERR_WARN_PASSIVE</a></div><div class="ttdeci">@ CO_CAN_ERR_WARN_PASSIVE</div><div class="ttdoc">0x0303, combination</div><div class="ttdef"><b>Definition:</b> CO_driver.h:480</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532ab47ecc1b08463eb986fd29c187096343"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532ab47ecc1b08463eb986fd29c187096343">CO_ERROR_TX_BUSY</a></div><div class="ttdeci">@ CO_ERROR_TX_BUSY</div><div class="ttdoc">Sending rejected because driver is busy.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:508</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a07457c9c6eda89fc0260e6d7e431424c"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a07457c9c6eda89fc0260e6d7e431424c">CO_ERROR_WRONG_NMT_STATE</a></div><div class="ttdeci">@ CO_ERROR_WRONG_NMT_STATE</div><div class="ttdoc">Command can't be processed in current state.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:510</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06afec9dfa33a34beef50c434e5cde68c6b"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06afec9dfa33a34beef50c434e5cde68c6b">CO_CAN_ID_RPDO_4</a></div><div class="ttdeci">@ CO_CAN_ID_RPDO_4</div><div class="ttdoc">0x500, Default RPDO5 (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:451</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a129c7141c52ae59d37a2fff163fec600"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a129c7141c52ae59d37a2fff163fec600">CO_ERROR_TIMEOUT</a></div><div class="ttdeci">@ CO_ERROR_TIMEOUT</div><div class="ttdoc">Function timeout.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:492</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a4829a460cbba557a2ff7f52bd912aa65"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a4829a460cbba557a2ff7f52bd912aa65">CO_ERROR_RX_PDO_LENGTH</a></div><div class="ttdeci">@ CO_ERROR_RX_PDO_LENGTH</div><div class="ttdoc">Wrong receive PDO length.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:499</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_ga932e6ccc3d54c58f761c1aead83bd6d7"><div class="ttname"><a href="group__CO__dataTypes.html#ga932e6ccc3d54c58f761c1aead83bd6d7">int16_t</a></div><div class="ttdeci">signed int int16_t</div><div class="ttdoc">INTEGER16 in CANopen (0003h), 16-bit signed integer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:145</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga88ef52baae169a80e4c2f2cb93b33747"><div class="ttname"><a href="group__CO__driver.html#ga88ef52baae169a80e4c2f2cb93b33747">CO_CANsetConfigurationMode</a></div><div class="ttdeci">void CO_CANsetConfigurationMode(void *CANptr)</div><div class="ttdoc">Request CAN configuration (stopped) mode and wait until it is set.</div><div class="ttdef"><b>Definition:</b> CO_driver.c:173</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga21cd9e2391f276b908bcde5769e967ed"><div class="ttname"><a href="group__CO__driver.html#ga21cd9e2391f276b908bcde5769e967ed">CO_getUint32</a></div><div class="ttdeci">static uint32_t CO_getUint32(const void *buf)</div><div class="ttdoc">Get uint32_t value from memory buffer, see CO_getUint8.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:689</div></div>
<div class="ttc" id="astructCO__CANtx__t_html_a9bb96d60314283061f7619e36d870fa0"><div class="ttname"><a href="structCO__CANtx__t.html#a9bb96d60314283061f7619e36d870fa0">CO_CANtx_t::DLC</a></div><div class="ttdeci">uint8_t DLC</div><div class="ttdoc">Length of CAN message.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:301</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_a6a53d3d12efbe30d1ee08e821d1b4139"><div class="ttname"><a href="structCO__CANmodule__t.html#a6a53d3d12efbe30d1ee08e821d1b4139">CO_CANmodule_t::txSize</a></div><div class="ttdeci">uint16_t txSize</div><div class="ttdoc">From CO_CANmodule_init()</div><div class="ttdef"><b>Definition:</b> CO_driver.h:324</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga6c5539afb3a95af43f5477d904607426a6df88a8a296eb4addc12d9136c0566b0"><div class="ttname"><a href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a6df88a8a296eb4addc12d9136c0566b0">CO_CAN_ERRRX_WARNING</a></div><div class="ttdeci">@ CO_CAN_ERRRX_WARNING</div><div class="ttdoc">0x0100, CAN receiver warning</div><div class="ttdef"><b>Definition:</b> CO_driver.h:476</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_aead6585dcb9b8214dd77e8f74ca2aea1"><div class="ttname"><a href="structCO__CANmodule__t.html#aead6585dcb9b8214dd77e8f74ca2aea1">CO_CANmodule_t::errinfo</a></div><div class="ttdeci">int32_t errinfo</div><div class="ttdoc">For use with CO_errinfo()</div><div class="ttdef"><b>Definition:</b> CO_driver.h:341</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532ac7a6f0554ae52997b88a97b46a16e5a3"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532ac7a6f0554ae52997b88a97b46a16e5a3">CO_ERROR_NODE_ID_UNCONFIGURED_LSS</a></div><div class="ttdeci">@ CO_ERROR_NODE_ID_UNCONFIGURED_LSS</div><div class="ttdoc">Node-id is in LSS unconfigured state.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:514</div></div>
<div class="ttc" id="astructCO__CANrx__t_html"><div class="ttname"><a href="structCO__CANrx__t.html">CO_CANrx_t</a></div><div class="ttdoc">Configuration object for CAN received message for specific CANopenNode Object.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:257</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga6c5539afb3a95af43f5477d904607426"><div class="ttname"><a href="group__CO__driver.html#ga6c5539afb3a95af43f5477d904607426">CO_CAN_ERR_status_t</a></div><div class="ttdeci">CO_CAN_ERR_status_t</div><div class="ttdoc">CAN error status bitmasks.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:468</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_ga070d2ce7b6bb7e5c05602aa8c308d0c4"><div class="ttname"><a href="group__CO__dataTypes.html#ga070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></div><div class="ttdeci">#define NULL</div><div class="ttdoc">NULL, for general usage.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:135</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06ad634b89f227db86bc8c633dda327e5fb"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06ad634b89f227db86bc8c633dda327e5fb">CO_CAN_ID_RPDO_3</a></div><div class="ttdeci">@ CO_CAN_ID_RPDO_3</div><div class="ttdoc">0x400, Default RPDO3 (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:449</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga01dd35ae53fd2209ceccabdc8bf8dd06"><div class="ttname"><a href="group__CO__driver.html#ga01dd35ae53fd2209ceccabdc8bf8dd06">CO_Default_CAN_ID_t</a></div><div class="ttdeci">CO_Default_CAN_ID_t</div><div class="ttdoc">Default CANopen identifiers.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:437</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html"><div class="ttname"><a href="structCO__CANmodule__t.html">CO_CANmodule_t</a></div><div class="ttdoc">Complete CAN module object.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:319</div></div>
<div class="ttc" id="astructCO__CANrx__t_html_a8595c238cf0364bde995dee97d321909"><div class="ttname"><a href="structCO__CANrx__t.html#a8595c238cf0364bde995dee97d321909">CO_CANrx_t::ident</a></div><div class="ttdeci">uint16_t ident</div><div class="ttdoc">Standard CAN Identifier (bits 0..10) + RTR (bit 11)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:258</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_a269294aa6a15ba56f92a460fae0536ac"><div class="ttname"><a href="structCO__CANmodule__t.html#a269294aa6a15ba56f92a460fae0536ac">CO_CANmodule_t::CANtxCount</a></div><div class="ttdeci">volatile uint16_t CANtxCount</div><div class="ttdoc">Number of messages in transmit buffer, which are waiting to be copied to the CAN module.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:338</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga27a4052f87c60cf2df472378689c2ef9"><div class="ttname"><a href="group__CO__driver.html#ga27a4052f87c60cf2df472378689c2ef9">CO_getUint8</a></div><div class="ttdeci">static uint8_t CO_getUint8(const void *buf)</div><div class="ttdoc">Get uint8_t value from memory buffer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:681</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_a5555f7d10e09da5815526d7c8b10901d"><div class="ttname"><a href="structCO__CANmodule__t.html#a5555f7d10e09da5815526d7c8b10901d">CO_CANmodule_t::CANnormal</a></div><div class="ttdeci">volatile bool_t CANnormal</div><div class="ttdoc">CAN module is in normal mode.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:327</div></div>
<div class="ttc" id="agroup__CO__driver_html_gad654edfa651bf7b68263913786697200"><div class="ttname"><a href="group__CO__driver.html#gad654edfa651bf7b68263913786697200">CO_CANsetNormalMode</a></div><div class="ttdeci">void CO_CANsetNormalMode(CO_CANmodule_t *CANmodule)</div><div class="ttdoc">Request CAN normal (operational) mode and wait until it is set.</div><div class="ttdef"><b>Definition:</b> CO_driver.c:181</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga1cb2d3466eb0c6d267f3b5ff1a0d9532a2f07295c4c6539c2b390db2d7c351267"><div class="ttname"><a href="group__CO__driver.html#gga1cb2d3466eb0c6d267f3b5ff1a0d9532a2f07295c4c6539c2b390db2d7c351267">CO_ERROR_OUT_OF_MEMORY</a></div><div class="ttdeci">@ CO_ERROR_OUT_OF_MEMORY</div><div class="ttdoc">Memory allocation failed.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:491</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_aa0627988ddedc3a4ec3bbfcf3b818d06"><div class="ttname"><a href="structCO__CANmodule__t.html#aa0627988ddedc3a4ec3bbfcf3b818d06">CO_CANmodule_t::errOld</a></div><div class="ttdeci">uint32_t errOld</div><div class="ttdoc">Previous state of CAN errors.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:340</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_gadc433a2a90dacd3b2b3801dd9431c254"><div class="ttname"><a href="group__CO__dataTypes.html#gadc433a2a90dacd3b2b3801dd9431c254">domain_t</a></div><div class="ttdeci">unsigned char domain_t</div><div class="ttdoc">DOMAIN in CANopen (000Fh), used to transfer a large block of data.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:167</div></div>
<div class="ttc" id="astructCO__CANmodule__t_html_ad7af19de0bf39c8927c926b095cb5292"><div class="ttname"><a href="structCO__CANmodule__t.html#ad7af19de0bf39c8927c926b095cb5292">CO_CANmodule_t::bufferInhibitFlag</a></div><div class="ttdeci">volatile bool_t bufferInhibitFlag</div><div class="ttdoc">If flag is true, then message in transmit buffer is synchronous PDO message, which will be aborted,...</div><div class="ttdef"><b>Definition:</b> CO_driver.h:332</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga6c5539afb3a95af43f5477d904607426a714a0b9c0978ffde5f138a81880a1fdd"><div class="ttname"><a href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a714a0b9c0978ffde5f138a81880a1fdd">CO_CAN_ERRRX_OVERFLOW</a></div><div class="ttdeci">@ CO_CAN_ERRRX_OVERFLOW</div><div class="ttdoc">0x0800, CAN receiver overflow</div><div class="ttdef"><b>Definition:</b> CO_driver.h:478</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06ab2e20e54189f5cb565e80b05eb8c4931"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06ab2e20e54189f5cb565e80b05eb8c4931">CO_CAN_ID_TIME</a></div><div class="ttdeci">@ CO_CAN_ID_TIME</div><div class="ttdoc">0x100, Time message</div><div class="ttdef"><b>Definition:</b> CO_driver.h:442</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga01dd35ae53fd2209ceccabdc8bf8dd06a3c84d92ad004cfc04e398193b742d30c"><div class="ttname"><a href="group__CO__driver.html#gga01dd35ae53fd2209ceccabdc8bf8dd06a3c84d92ad004cfc04e398193b742d30c">CO_CAN_ID_SDO_SRV</a></div><div class="ttdeci">@ CO_CAN_ID_SDO_SRV</div><div class="ttdoc">0x580, SDO response from server (+nodeID)</div><div class="ttdef"><b>Definition:</b> CO_driver.h:452</div></div>
<div class="ttc" id="agroup__CO__driver_html_gga6c5539afb3a95af43f5477d904607426a725e4fe057c2f9d222850686a76c724d"><div class="ttname"><a href="group__CO__driver.html#gga6c5539afb3a95af43f5477d904607426a725e4fe057c2f9d222850686a76c724d">CO_CAN_ERRTX_WARNING</a></div><div class="ttdeci">@ CO_CAN_ERRTX_WARNING</div><div class="ttdoc">0x0001, CAN transmitter warning</div><div class="ttdef"><b>Definition:</b> CO_driver.h:469</div></div>
<div class="ttc" id="astructCO__CANtx__t_html"><div class="ttname"><a href="structCO__CANtx__t.html">CO_CANtx_t</a></div><div class="ttdoc">Configuration object for CAN transmit message for specific CANopenNode Object.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:299</div></div>
<div class="ttc" id="astructCO__CANtx__t_html_a79c19597a51351b9d6ed1c9bdfd051b3"><div class="ttname"><a href="structCO__CANtx__t.html#a79c19597a51351b9d6ed1c9bdfd051b3">CO_CANtx_t::syncFlag</a></div><div class="ttdeci">volatile bool_t syncFlag</div><div class="ttdoc">Synchronous PDO messages has this flag set.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:305</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga4664a9f5d547cb0605a9e929fb079f2e"><div class="ttname"><a href="group__CO__driver.html#ga4664a9f5d547cb0605a9e929fb079f2e">CO_CANsend</a></div><div class="ttdeci">CO_ReturnError_t CO_CANsend(CO_CANmodule_t *CANmodule, CO_CANtx_t *buffer)</div><div class="ttdoc">Send CAN message.</div><div class="ttdef"><b>Definition:</b> CO_driver.c:664</div></div>
<div class="ttc" id="agroup__CO__driver_html_ga9dbc7193fbd875503e0b3b34ea22434e"><div class="ttname"><a href="group__CO__driver.html#ga9dbc7193fbd875503e0b3b34ea22434e">CO_setUint32</a></div><div class="ttdeci">static uint8_t CO_setUint32(void *buf, uint32_t value)</div><div class="ttdoc">Write uint32_t value into memory buffer, see CO_setUint8.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:709</div></div>
<div class="ttc" id="agroup__CO__dataTypes_html_gaba7bc1797add20fe3efdf37ced1182c5"><div class="ttname"><a href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a></div><div class="ttdeci">unsigned char uint8_t</div><div class="ttdoc">UNSIGNED8 in CANopen (0005h), 8-bit unsigned integer.</div><div class="ttdef"><b>Definition:</b> CO_driver.h:151</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_f17b92000dd778003adbbcb6b5ce4226.html">301</a></li><li class="navelem"><a class="el" href="CO__driver_8h.html">CO_driver.h</a></li>
    <li class="footer">Generated on Thu Dec 24 2020 14:30:50 for CANopenNode by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
